package com.djc.exam.webapp.base.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "分页公共类")
public class PageUtil implements Serializable {

    @ApiModelProperty(value = "当前页")
    private Long pageNum = 1L;

    @ApiModelProperty(value = "每页个数")
    private Long pageSize = 10L;

    @ApiModelProperty(value = "总页数")
    private Long pageCount;

    @ApiModelProperty(value = "总条数")
    private Long total;

}
